package com.example.linked.skiplist;

/**
 * 跳表的节点类
 */
public class Node {
    int val;
    // 两个指针域，分别指向右边(同级链表)和下面(下级链表)的节点
    Node right;
    Node down;

    public Node(int val) {
        this.val = val;
    }

    public Node(int val, Node right, Node down) {
        this.val = val;
        this.right = right;
        this.down = down;
    }
}
